package com.bckj.fastboot.core.operation.context;

import com.bckj.fastboot.core.util.ExecutionContext;

public interface OperationContext extends ExecutionContext {

    /**
     * 是否异步回调
     * @return 是否
     */
    default boolean asyncCallback() {
        return false;
    }

    /**
     * 是否异步回滚
     * @return 是否
     */
    default boolean asyncRollback() {
        return false;
    }
}
